
<?php $this->headScript()->appendFile($this->JS_PATH . 'form_status.js'); ?>
<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<div class="clearfix"></div>
<div class="content">
    <div class="page-title"> <i class="icon-custom-right"></i>
        <h3><span class="semi-bold">Add status</span></h3>
    </div>
    <div class="row">

        <div class="col-md-12">
            <div class="grid simple">
                <div class="grid-title">


                </div>
                <div class="grid-body ">
                    <div class="row">


                        <?php if (count($this->errorMessageArray) > 0): ?>
                            <div class="alert alert-error">
                                <?php foreach ($this->errorMessageArray as $erroValue): ?>

                                    <div class="text-left">
                                        <i class="icon-remove-sign"></i>
                                        <?php echo $erroValue; ?>
                                    </div>

                                <?php endforeach; ?>
                            </div>
                        <?php endif; ?>

                        <form id="commentForm" action="" method="POST" enctype="multipart/form-data">
                            <div class="">
                             
                                <div class="row form-row">
                                    <div class="col-md-6">
                                        <label class="form-label">Status Type</label>
                                        <div class="ui-selectable-helper">
                                            <?php echo $this->form->st_type; ?>
                                        </div>
                                    </div>
                                </div>
                                <input type="hidden" name="sold_status" id="sold_status" value="<?php echo $this->sold_status; ?>" >
                                <input type="hidden" name="rent_status" id="rent_status" value="<?php echo $this->rent_status; ?>" >
                                <input type="hidden" name="prp_rentprice" id="prp_rentprice" value="<?php echo $this->prp_rentprice; ?>" >
                                <input type="hidden" name="prp_saleprice" id="prp_saleprice" value="<?php echo $this->prp_saleprice; ?>" >
                                <input type="hidden" name="vat_value" id="vat_value" value="<?php echo $this->vat_value; ?>" >
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Date Of Sale</label>
                                        <?php echo $this->form->date_sale; ?>
                                    </div>
                                </div>
                                
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type rent">
                                        <label class="form-label">Start Date</label>
                                        <?php echo $this->form->st_start_date; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type rent">
                                        <label class="form-label">End Date</label>
                                        <?php echo $this->form->st_end_date; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Price</label>
                                        <?php echo $this->form->st_price; ?>
                                    </div>
                                </div>
                                
                               
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Vat Rate</label>
                                        <?php echo $this->form->vat_rate; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Vat</label>
                                        <?php echo $this->form->vat; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Total Price</label>
                                        <?php echo $this->form->total_price; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Agent</label>
                                        <?php echo $this->form->agent_id; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Agent Commission</label>
                                        <?php echo $this->form->agent_commission; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Referral Name</label>
                                        <?php echo $this->form->referral_name; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Referral Commission</label>
                                        <?php echo $this->form->referral_commission; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Other Name</label>
                                        <?php echo $this->form->other_name; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Other Commission</label>
                                        <?php echo $this->form->other_commission; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Other Costs</label>
                                        <?php echo $this->form->other_costs; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6 st_all_type st_price">
                                        <label class="form-label">Landtourist Profit</label>
                                        <?php echo $this->form->landtourist_profit; ?>
                                    </div>
                                </div>
                                
                                <div class="row form-row">
                                    <div class="col-md-6">
                                        <?php if ($this->mode == 'Edit'): ?>
                                        <input type="submit" value="Edit Status" class="submitfrmbtn btn btn-primary" name="Edit Status"/>
                                        <?php else: ?>
                                            <input type="submit" value="Add Status" class="submitfrmbtn  btn btn-primary" name="Add Status"/>
                                        <?php endif; ?>
                                    </div>
                                </div>
                                
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- END PAGE -->